package com.sciencep.pro.core.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sciencep.pro.core.domain.dto.user.UserDetail;
import com.sciencep.pro.core.domain.entity.RolePower;

import java.util.List;

/**
 * @author Sciencep
 */
public interface IRolePowerService extends IService<RolePower> {

    boolean save(String roleId, List<String> powerIds, UserDetail detail);

}
